<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<style>
  body {
    font-size: 0;
  }

  div {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: red;
  }

  .box1 {
    margin-right: 100px;
  }

  .box2 {
    margin-left: 200px
  }

  span {
    font-size: 16px;
  }

  .p2 {
    float: left;
    margin-top: 18px;
  }
</style>

<body>


  <div class="box1">
    <span class="p1">123</span>
    <span class="p2">456</span>
  </div>
  <div class="box2">
    <span class="p1">123</span>
    <span class="p2">456</span>
  </div>

  <input type="text" id="number1">
  <input type="text" id="number2">

  <script>
    // var myWorker = new Worker("worker.js");
    // var first = document.querySelector("#number1");
    // var second = document.querySelector("#number2");

    // first.onchange = function () {
    //   myWorker.postMessage([first.value, second.value]);
    //   console.log("Message posted to worker");
    // };

    window = null
    window.someProperty = undefined; // 将某个属性设置为 undefined
    console.log(window)

  </script>

</body>

</html>